package com.crr.demo.impl.service;


import com.alibaba.fastjson.JSONObject;
import com.crr.demo.bean.User;

import java.util.List;

public interface UserService {
    List<JSONObject> getAllUser();
    int addUser(User user);
    String deleteUser(User user);
    String recoverUser(User user);
    String updateUser(User user);
    void authUser(Long id,Long role);
    User getUser(String identityId);
    User getUserById(Long id);
    User getUserByLogin(String identity, String pwd);
}
